package com.atguigu.springcloud.service.impl;

import com.atguigu.springcloud.service.IPaymentService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @author : wenchao.long
 * @date : Created in 2020/12/25 9:52 周五
 * @description :
 */
@Service
public class PaymentServiceImpl implements IPaymentService {

    @Value("${server.port}")
    private String serverPort;

    @Override
    public String nacosId(Integer id) {
        return "nacos registry, serverPort: " + serverPort + ", id: " + id;
    }
}
